package com.orange.score.model.index;

public class Odds
{
  static int MIN_SCORE_UPDATE_INTERVAL = 10000;
  public int awayTeamOddsFlag;
  String companyId;
  public int homeTeamOddsFlag = 0;
  public long lastModifyTime;
  String matchId;
  String oddsId;
  public int pankouFlag;

  public Odds(String paramString1, String paramString2, String paramString3)
  {
    this.awayTeamOddsFlag = 0;
    this.pankouFlag = 0;
    this.lastModifyTime = System.currentTimeMillis();
    this.matchId = paramString1;
    this.companyId = paramString2;
    this.oddsId = paramString3;
  }

  public String getCompanyId()
  {
    return this.companyId;
  }

  public String getMatchId()
  {
    return this.matchId;
  }

  public String getOddsId()
  {
    return this.oddsId;
  }

  public boolean isOddsJustUpdate()
  {
    int i;
    if (System.currentTimeMillis() - this.lastModifyTime <= MIN_SCORE_UPDATE_INTERVAL)
      i = 1;
    while (true)
    {
      return i;
      i = 0;
    }
  }

  public void setCompanyId(String paramString)
  {
    this.companyId = paramString;
  }

  public void setMatchId(String paramString)
  {
    this.matchId = paramString;
  }

  public void setOddsId(String paramString)
  {
    this.oddsId = paramString;
  }

  public String toString()
  {
    return "Odds [matchId=" + this.matchId + ", companyId=" + this.companyId + ", oddsId=" + this.oddsId + "]";
  }
}